package com.guigu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.pojo.Consumer;

import java.util.HashMap;

/**
 * <p>
 * 前台用户表 服务类
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
public interface ConsumerService extends IService<Consumer> {


    Consumer selectOneByLoginNameAndPassword(String loginName, String password);

    Object loginByPhone(String phone);

    Consumer register(Consumer consumer);

    Integer updatePassword(HashMap<String, Object> map);
}
